package cn.sciento.websocket.constant;

public class WebSocketConstant {
    public static final String REDIS_KEY = "websocket";

    public static final String CHANNEL = "stong-webSocket";

    public static final String ALIVE = "$";

    public static final class Attributes {
        public static final String TOKEN = "access_token";

        public static final String KEY = "key";
    }

    public static final class SendType {
        public static final String SESSION = "S";

        public static final String USER = "U";

        public static final String ALL = "A";
    }
}
